<%@page import="java.net.InetAddress"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	InetAddress address = InetAddress.getLocalHost();
String url = "http://"+address.getHostAddress()+":8080/RESTful-web/";
%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首页</title>
</head>

<body>
	RESTful-web
	<br>
	<a href="<%=url+"rest/user/getText"%>">getText</a><br>
	<a href="<%=url+"rest/user/getJson"%>">getJson</a><br>
	<a href="<%=url+"rest/user/getXml"%>">getXml</a><br>
</body>
</html>